// 路由注册
import routes from './routes'
import {createRouter, createWebHistory} from 'vue-router'
import interceptor from './interceptor'

const router = createRouter({
    history:createWebHistory(),
    routes
})
router.beforeEach(interceptor)

export default router